<?php
use_stylesheets_for_form($form);
use_javascripts_for_form($form);
?>
<form action="<?php echo url_for('fisioterapeuta/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form2->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          <?php echo $form->renderHiddenFields(false) ?>
          &nbsp;<?php echo button_to('Volver', 'fisioterapeuta/index') ?>
          <?php /*if (!$form->getObject()->isNew()): ?>
            &nbsp;<?php echo button_to('Eliminar', 'fisioterapeuta/delete?id='.$form->getObject()->getId(), array('method' => 'delete', 'confirm' => 'Seguro?')) ?>
          <?php endif;*/ ?>
          <input type="submit" value="Guardar" />
        </td>
      </tr>
    </tfoot>
    <tbody><?php echo $form . $form2 ?></tbody>
  </table>
</form>